package com.summer.framework.base.enums;

import com.summer.framework.base.constant.EnumConstant;
import com.summer.framework.base.constant.EnumType;
import lombok.Getter;

/**
 * Description:
 *
 * @auther Ice Yang
 * Date 2025/9/26 17:58
 */
@Getter
public enum SexEnum{

    MALE("1001", "男", "1000.1001"),

    FEMALE("1002", "女", "1000.1002");

    private final String code;
    private final String message;

    private final String key;

    SexEnum(String code, String message,String key) {
        this.code = code;
        this.message = message;
        this.key = key;
    }

    static {
        for (SexEnum value : SexEnum.values()){
            EnumConstant.put(EnumType.SEX,value.code,value.message,value.key);
        }
    }
}
